<div class="content">
  <div class="success-txt m-t-6">
    <i>流量控制</i>
    <span class="check-span {{if enable == 1}}check-span-current{{/if}}">
      <input type="hidden" value="1"  class="enable">
    </span>
  </div>
  <div class="ly-pppoe content-ly-pppoe border ">
    <p>宽带设置</p>
    <ul>
      <li>
        <i>上行带宽</i>
        <div class="text">
          <input type="number" class="up_band" name="name" value="{{up_band}}">
          <small>KB/S</small>
        </div>
      </li>
      <li>
        <i>下行带宽</i>
        <div class="text">
          <input type="number" class="down_band" name="name" value="{{down_band}}">
          <small>KB/S</small>
        </div>
      </li>
    </ul>
  </div>
  <div class="ly-pppoe content-ly-pppoe border m-t-6">
    <p>限速设置</p>
    <ul>
      <li>
        <i>限速模式</i>
        <div class="text">
          <div class="checkbox-box {{if mode === 0}}checked{{/if}}">
            <div class="checkbox"></div>
            <label>标准模式</label>
          </div>
          <div class="checkbox-box {{if mode === 1}}checked{{/if}}">
            <div class="checkbox"></div>
            <label>忙碌模式</label>
          </div>
        </div>
      </li>
      <div class="data-box" {{if mode === 1}} style="display:none"{{/if}}>
        <li>
          <i>上行带宽</i>
          <div class="text">
            <input type="number" class="upstream_s" name="upstream" value="{{upstream_s}}">
            <small>KB/S</small>
          </div>
        </li>
        <li>
          <i>下行带宽</i>
          <div class="text">
            <input type="number" class="downstream_s" name="downstream" value="{{downstream_s}}">
            <small>KB/S</small>
          </div>
        </li>
      </div>
      <div class="data-box" {{if mode === 0}} style="display:none"{{/if}}>
        <li>
          <i>上行带宽</i>
          <div class="text">
            <input type="number" class="upstream_b" name="upstream" value="{{upstream_b}}">
            <small>KB/S</small>
          </div>
        </li>
        <li>
          <i>下行带宽</i>
          <div class="text">
            <input type="number" class="downstream_b" name="downstream" value="{{downstream_b}}">
            <small>KB/S</small>
          </div>
        </li>
      </div>
    </ul>
  </div>
</div>
